package com.atsmart.app.utils;

public class PersistentKeyUtil {

	/**
	 * 用户正常使用，通过LoginActivity进入NavActivity界面
	 */
	public static final int NORMAL_USER_STATE = 1;
	/**
	 * 用户状态异常，不进入NavActivity界面，停留在LoginActivity界面
	 */
	public static final int UN_NORMAL_USER_STATE = -1;
	
	
    public static final int NETWORK_ERROR = 0;
    public static final int SERVER_ERROR = 1;

    public static final int TAB_TASK = 1;
    public static final int TAB_REPORT = 2;
    public static final int TAB_CLIENT = 3;
    public static final int TAB_MESSAGE = 4;
    public static final int TAB_ACTION = 5;
    public static final int TAB_PRODUCT = 6;
    public static final int TAB_INVALID = -1;//invalid tab, default value

    public static final int REPORT_TYPE_DIRECTLY = 1;
    public static final int REPORT_TYPE_CLIENT = 2;
    public static final int REPORT_TYPE_TASK = 3;

    public static final int RESULT_IMAGE_ALBUM_OPEN = 101;
	public static final int RESULT_IMAGE_ALBUM_SELECT = 102;
	public static final int RESULT_PREVIEW = 103;
	public static final int RESULT_CAMERA = 104;
	public static final int RESULT_PREVIEW_FOR_SETTING = 105;
	public static final int RESULT_PREVIEW_FOR_SETTING_OK = 106;
	public static final int RESULT_IMAGE_ALBUM_OPEN_FOR_SETTING = 107;
	public static final int RESULT_IMAGE_ALBUM_SELECT_FOR_SETTING = 108;

	public static final String TEMPLATE_ID_STRING = "template_id";
	public static final String CLIENTS_STRING = "clients";
	public static final String CLIENT_ID_STRING = "client_id";
	public static final String TEMPLATE_NAME = "template_name";
	public static final String REPORT_TYPE = "report_type";
	public static final String TASK_ID = "task_id";
	public static final String HISTORY_TYPE = "history_type";
	public static final String TASK_TIME = "task_time";
	public static final String TASK_NAME = "task_name";
	public static final String START_CHECKING = "start_checking";
	public static final String START_DEVICE_CHECKING = "start_device_checking";
	public static final String END_DEVICE_CHECKING = "end_device_checking";
	public static final String DURING_CHECK = "during_checking";
	public static final String TEMPLATE_ITEM_ID = "template__item_id";
	public static final String PRODUCT_NAME = "product_name";
	public static final String PRODUCT_MULU_NAME = "product_mulu_name";
	public static final String LOCATION_FLG = "location_flg";
}
